package com.yu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Sale)实体类
 *
 * @author makejava
 * @since 2021-07-01 14:32:36
 */
@Data
public class Sale implements Serializable {
    private static final long serialVersionUID = 235912920028149939L;

    private Integer sid;

    private Integer count;

    private String totalprice;

    //@JSONField(format = "yyyy-MM-dd")
    private Date saledate;

    private Integer uid;

    private Integer pid;

    private User user;

    private Product product;

}
